Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[To metric branch] Add benchmarks for targeting Exemplar impact #4203

Merged

Conversation

cijothomas
Copy link
Member

Fixes #.

Changes

Please provide a brief description of the changes here.

For significant contributions please make sure you have completed the following items:

  • Appropriate CHANGELOG.md updated for non-trivial changes
  • Design discussion issue #
  • Changes in public API reviewed

@cijothomas cijothomas requested a review from a team February 17, 2023 00:02
| Method | EnableExemplar | Mean | Error | StdDev | Allocated |
|---------------- |--------------- |---------:|--------:|--------:|----------:|
| HistogramUpdate | False | 249.6 ns | 4.42 ns | 7.13 ns | - |
| HistogramUpdate | True | 284.2 ns | 5.39 ns | 5.04 ns | - |
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

not bad 👋

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this does not use the spec prescribed API for Reservoir. THe spec mandated one does not allow passing the histogram index, so it'd require finding the histogram index twice (this is how java implemented it now).

Will try that and share numbers as well for ref.

@codecov
Copy link

codecov bot commented Feb 17, 2023

Codecov Report

Merging #4203 (9db8582) into main-metrics (41d4c07) will increase coverage by 0.06%.
The diff coverage is n/a.

Additional details and impacted files

Impacted file tree graph

@@               Coverage Diff                @@
##           main-metrics    #4203      +/-   ##
================================================
+ Coverage         84.73%   84.80%   +0.06%     
================================================
  Files               296      296              
  Lines             11529    11529              
================================================
+ Hits               9769     9777       +8     
+ Misses             1760     1752       -8     
Impacted Files Coverage Δ
...Telemetry/Internal/SelfDiagnosticsEventListener.cs 97.65% <0.00%> (+0.78%) ⬆️
...ter.ZPages/Implementation/ZPagesActivityTracker.cs 100.00% <0.00%> (+2.85%) ⬆️
...ZPages/Implementation/ZPagesExporterEventSource.cs 62.50% <0.00%> (+6.25%) ⬆️
...tation/OpenTelemetryProtocolExporterEventSource.cs 95.00% <0.00%> (+10.00%) ⬆️
...porter.OpenTelemetryProtocol/OtlpMetricExporter.cs 86.36% <0.00%> (+13.63%) ⬆️

@cijothomas cijothomas changed the title To Metrics - Add benchmarks for targeting Exemplar impact [To metric branch] Add benchmarks for targeting Exemplar impact Feb 17, 2023
@cijothomas cijothomas merged commit 0ae30f0 into open-telemetry:main-metrics Feb 17, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants